package com.easyaop.test.api.tool;

import com.easyaop.commons.MethodVo;

import static org.junit.jupiter.api.Assertions.assertEquals;


public class TypeDescription {
    public void test_getTypeName() throws Exception {
        assertEquals("int", MethodVo.toString(int.class));
        assertEquals("java.lang.String", MethodVo.toString(String.class));
        assertEquals("java.lang.String[]", MethodVo.toString(String[].class));
        assertEquals("java.lang.String[][]", MethodVo.toString(String[][].class));
    }
}
